//
//  FurnitureData.h
//  Model
//
//  Created by YDJH on 2017/5/19.
//  Copyright © 2017年 YDJH. All rights reserved.
//  获取家具数据

#import <Foundation/Foundation.h>
#import "HZFurniture.h"
#import "HZHiddenFurniture.h"


@interface FurnitureData : NSObject

@property (nonatomic,copy)NSString *furnitureName;     //家具名

@property (nonatomic,copy)NSString *strength;          //强度

@property (nonatomic,strong)NSArray *actionCollection;//指令集

@property (nonatomic,strong)NSArray *stateCollection; //状态集

@property (nonatomic,strong)NSArray *trapCollection;   //陷阱集

@property (nonatomic,copy)NSString *type;               //类型

@property (nonatomic,copy)NSString *furnitureState;     //家具状态

@property (nonatomic,copy)NSString *furnitureCategory;  //0.通用   1.外墙   2.内墙

@property (nonatomic,copy)NSString *furniturePicture;    //图片

+ (NSMutableArray *)gobackFurnitureModel;

+ (HZFurniture *)gobackFurnitureModelWithModel:(FurnitureData *)furniture;

//根据家具类型返回家具模型
+ ( HZFurniture *)gobackArrayWithFurnitureType:(NSString *)type;

//根据沙盘家具数组 和 家具Data 转换成 家具模型
+ (NSArray <HZFurniture *>*)goBackArrayWithSandTableFutiniture:(NSArray *)array withFurData:(NSArray *)dataArr;

+ (NSArray <HZHiddenFurniture *>*)goBackArrayWithSandTableHiddenFutiniture:(NSArray *)array withRoomData:(NSArray *)dataArr;
//返回房间外墙的家具
+ (NSArray <HZFurniture *>*)goBackArrayWithOutsideFutiniture:(NSArray *)array withFurData:(NSArray *)dataArr indexPath:(NSIndexPath *)indexPath;

//返回房间内墙的家具
+ (NSArray <HZFurniture *>*)goBackArrayWithinsideFutiniture:(NSArray *)array withFurData:(NSArray *)dataArr indexPath:(NSIndexPath *)indexPath;

+ (BOOL)gobackBOOLWithSandTableFutiniture:(NSArray *)array;

@end
